<?php
class MessageManager extends CI_Controllers {
	function __construct() {
		parent::__construct();
		$this->load->model('message');
	}
	
	public function accept($mid) {
		$data = ('mid' => $mid);
		$this->message->deleteMessage($data);
	}
}
?>